package com.example.site.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum RuleEnum {
    ADMIN(1, "管理员"),
    FRONT_USER(2, "前台"),
    USER(3, "用户");

    @EnumValue
    private Integer rule;
    private String ruleName;

    RuleEnum(Integer rule, String ruleName) {
        this.rule = rule;
        this.ruleName = ruleName;
    }
}
